package cool.houge.hello.main;

import cool.houge.hello.controller.HelloController;
import io.jooby.Jooby;
import io.jooby.json.JacksonModule;

/**
 * 应用程序入口.
 *
 * @author KK (kzou227@qq.com)
 */
public class Application extends Jooby {

  {
    install(new JacksonModule());

    // WEB控制器配置
    mvc(HelloController.class);
  }

  public static void main(String[] args) {
    runApp(args, Application.class);
  }
}
